#pragma once

class AFX_EXT_CLASS CEXMemDC : public CDC
{
public:
	CEXMemDC(CDC* pDC, const CRect& rcBounds);
	~CEXMemDC(void);
	CEXMemDC* operator->();

private:
	CBitmap*	m_bitmap;
	CBitmap*	m_oldBitmap;
	CDC*		m_pDC;
	CRect		m_rcBounds;
};
